package com.dream.tihai.dto;

import lombok.Data;

import java.util.List;

/**
 * @author Valley
 * Created by Valley on 2022/12/14
 */
@Data
public class TreeTypeDto {

    private long value;
    private long pid;
    private String label;
    private List<TreeTypeDto> children;

    @Override
    public String toString() {
        return "{\'value\':" + value +
                ", \'pid\':" + pid +
                ", \'label\':" + label +
                ", \'children\':" + children + "}";
    }
}
